home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / LGP250S1.ZIP / src / libgplus.5 / libgplus / gplus-in / string.h < prev    next >
C/C++ Source or Header  |  1992-06-18  |  1KB  |  46 lines

  1.  
  2. #ifndef _string_h
  3. #define _string_h 1
  4.  
  5. #include <_G_config.h>
  6.  
  7. #ifndef size_t
  8. #define size_t _G_size_t
  9. #endif
  10.  
  11. #ifndef NULL
  12. #define NULL _G_NULL
  13. #endif
  14.  
  15. extern "C" {
  16.  
  17. char*     strcat(char*, const char*);
  18. char*     strchr(const char*, int);
  19. int       strcmp(const char*, const char*);
  20. int       strcoll(const char*, const char*);
  21. char*     strcpy(char*, const char*);
  22. size_t    strcspn(const char*, const char*);
  23. char*     strdup(const char*);
  24. // NOTE: If you get a error message from g++ that this declaration
  25. // conflicts with a <built-in> declaration of strlen(), that usually
  26. // indicates that __SIZE_TYPE__ is incorrectly defined by gcc.
  27. // Fix or add SIZE_TYPE in the appropriate file in gcc/config/*.h.
  28. size_t    strlen(const char*);
  29. char*     strncat(char*, const char*, size_t);
  30. int       strncmp(const char*, const char*, size_t);
  31. char*     strncpy(char*, const char*, size_t);
  32. char*     strpbrk(const char*, const char*);
  33. char*     strrchr(const char*, int);
  34. size_t    strspn(const char*, const char*);
  35. char*     strstr(const char*, const char *);
  36. char*     strtok(char*, const char*);
  37. size_t    strxfrm(char*, const char*, size_t);
  38.  
  39. char*     index(const char*, int);
  40. char*     rindex(const char*, int);
  41. }
  42.  
  43. #include <memory.h>
  44.  
  45. #endif
  46.